from sqlalchemy import Column, Integer, String, Text, DateTime, func
from models.base import Base


class UserFeedback(Base):
    __tablename__ = "user_feedback"

    id = Column(Integer, primary_key=True, index=True)
    user_name = Column(String(100), nullable=False)
    contact_info = Column(String(255), nullable=False)
    feedback_text = Column(Text, nullable=False)
    created_at = Column(DateTime, default=func.now())








